package com.tjec.project.businessWorkbench.dto;

import com.tjec.framework.aspectj.lang.annotation.Excel;
import com.tjec.framework.web.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 
 * @author pangyognfeng
 * @date 2020-08-27
 */
public class WholeDocQueryDto extends BaseEntity
{

    /**
	 * 
	 */
	private static final long serialVersionUID = 5845919852618363414L;

	@Excel(name="项目名称")
	private String projectName;
	
	@Excel(name="项目执行部门")
	private String executeDept;
	
	@Excel(name="委托单位")
	private String party;
	
	@Excel(name="项目负责人")
	private String projectLeader;
	
	@Excel(name="项目总投资")
	private double investment;
	
	@Excel(name="项目代码")
	private String code;
	
	@Excel(name="项目开始服务日期",dateFormat = "yyyy-MM-dd")
	private Date startDate;
	
	@Excel(name="项目结束服务日期",dateFormat = "yyyy-MM-dd")
	private Date endDate;
	
	//@Excel(name="业务类别id")
	private String businessCategoryId;
	
	@Excel(name="业务类别")
	private String businessCategoryName;
	
	//@Excel(name="业务id")
	private String businessId;
	
	//@Excel(name="文件id")
	private String guid;
	
	//@Excel(name="目录id")
	private String catalogId;
	
	@Excel(name="文件标题")
	private String name;
	
	@Excel(name="文件类型",readConverterExp = "0=收资管理,1=项目文档,2=电子归档,3=成果校审")
	private String type;
	
	@Excel(name="业务名称")
	private String businessName;
	
	@Excel(name="报告名称/标段名称")
	private String reportName;
	
	@Excel(name="报告号/标段号")
	private String reportNo;
	
	@Excel(name="报告类型")
	private String reportType;
	
	/**附件集合**/
    private List<BmsAttachmentDto> attachments;
	
	
	
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
    		.append("projectName", getProjectName())
    		.append("executeDept", getExecuteDept())
    		.append("party", getParty())
    		.append("investment", getInvestment())
    		.append("code",getCode())
    		.append("startDate",getStartDate())
    		.append("endDate",getEndDate())
    		.append("businessCategoryId",getBusinessCategoryId())
    		.append("businessCategoryName",getBusinessCategoryName())
    		.append("businessId",getBusinessId())
            .append("guid", getGuid())
            .append("catalogId",getCatalogId())
            .append("name",getName())
            .append("type",getType())
            .append("businessName",getBusinessName())
            .append("reportName",getReportName())
            .append("reportNo",getReportNo())
            .append("reportType",getReportType())
            .append("attachments",getAttachments())
            .append("projectLeader",getProjectLeader())
            .toString();
    }

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getExecuteDept() {
		return executeDept;
	}

	public void setExecuteDept(String executeDept) {
		this.executeDept = executeDept;
	}

	public String getParty() {
		return party;
	}

	public void setParty(String party) {
		this.party = party;
	}

	public double getInvestment() {
		return investment;
	}

	public void setInvestment(double investment) {
		this.investment = investment;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getBusinessCategoryId() {
		return businessCategoryId;
	}

	public void setBusinessCategoryId(String businessCategoryId) {
		this.businessCategoryId = businessCategoryId;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getCatalogId() {
		return catalogId;
	}

	public void setCatalogId(String catalogId) {
		this.catalogId = catalogId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public String getReportName() {
		return reportName;
	}

	public void setReportName(String reportName) {
		this.reportName = reportName;
	}

	public String getReportNo() {
		return reportNo;
	}

	public void setReportNo(String reportNo) {
		this.reportNo = reportNo;
	}

	public String getReportType() {
		return reportType;
	}

	public void setReportType(String reportType) {
		this.reportType = reportType;
	}
	
	public String getBusinessCategoryName() {
		return businessCategoryName;
	}

	public void setBusinessCategoryName(String businessCategoryName) {
		this.businessCategoryName = businessCategoryName;
	}
	
	public List<BmsAttachmentDto> getAttachments() {
		return attachments;
	}


	public void setAttachments(List<BmsAttachmentDto> attachments) {
		this.attachments = attachments;
	}

	public String getProjectLeader() {
		return projectLeader;
	}

	public void setProjectLeader(String projectLeader) {
		this.projectLeader = projectLeader;
	}
    
}
